/* 导航栏部分 */
.nav {
    height: 70px;
    border-bottom: 1px solid #00AEEC;
}
.nav .left {
    float: left;
    line-height: 70px;
    margin-left: 10px;
    color:#409EFF;
}
.nav .right {
    font-size: 16px;
    float: right;
    line-height: 70px;
    margin-right: 20px;
}
.nav .right .user {
    color: cornflowerblue;
    margin-right: 20px;
}
/* 左侧下拉菜单 */
.leftnav {
    float: left;
    width: 200px;
    background-color: #eee;
    height: calc(100vh - 70px);
}
.leftnav div {
    background-color: skyblue;
    text-align: center;
    height: 30px;
    border: 1px solid #666;
    line-height: 30px;
}
.leftnav li {
    text-align: center;
    height: 50px;
    line-height: 50px;
    border: 1px solid #666;
}

/* 右侧表单 */
.rightform {
    margin-left: 200px;
    width: calc(100vw - 200px);
    height: calc(100vh - 70px);
    /* background-color: skyblue; */
}
.rightform .form {
    margin-left: 30px;
    width: 1000px;
    height: 500px;
}
.form h1 {
    padding: 30px 0;
}
.form .ipt {
    /* margin-top: 30px; */
    width: 1200px;
    height: 60px;
    line-height: 60px;
    border: 1px solid #666;
}
.form .ipt .search {
    display: inline-block;
    width: 350px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
}
.form .ipt .add {
    display: inline-block;
    height: 30px;
    width: 40px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 5px;
    margin-left: 10px;
}
.form .ipt .add:hover {
    background-color: #eee;
}
.form .ipt .search:hover {
    background-color: #fff;
}
.form .ipt input {
    width: 300px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #666;

    background-color: #fff;
}
.form .ipt input:hover {
    background-color: #ccc;
}
.form .search a {
    float: right;
    display: block;
    height: 30px;
    width: 30px;
    font-size: 25px;
    border-radius: 5px;
}
.form .search a:hover {
    border: 1px solid #666;
    background-color: #ccc;
}
.form .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
th, td {
    border: 1px solid #999;
    text-align: center;
    padding: 10px 0;
}
.table caption {
    font-size: 2em;
    font-weight: 700;
    padding-bottom: 10px;
}

table thead tr{
    background-color: #008c8c;
    color: #fff;
}

table tbody tr:nth-child(odd){
    background-color: #eee;
}

table tbody tr:hover{
    background-color: #ccc;
}

/* 模态框部分 */
.mask{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    /*display: none;*/
}
.modal{
    position: fixed;
    top: 0;
    left: 50%;
    width: 500px;
    margin-top: 20px;
    transform: translateX(-50%);
    border-radius: 5px;
    background: #fff;
    box-shadow: 2px 3px 20px rgba(0,0,0,0.2);
    z-index: 120;
}
.modal .modal-header{
    height: 50px;
    border-bottom: 1px solid #f5f5f5;
    padding: 0 15px;
}
.modal .modal-header p {
    line-height: 50px;
    display: inline-block;
}
.modal .modal-header .title{
    font-size: 18px;
    color: #333;
}
.modal .modal-header .close{
    float: right;
    font-size: 26px;
    margin-top: -2px;
    color: #9C9FA4;
    cursor: default;
}

.modal label {

    display: block;

    margin: 0px;

}

.modal label>span {

    float: left;

    width: 20%;

    text-align: right;

    padding-right: 10px;

    margin-top: 10px;

    color: #888;

}

.modal input {

    border: 1px solid #DADADA;

    color: #888;

    height: 30px;

    margin-bottom: 16px;

    margin-right: 6px;

    margin-top: 2px;

    outline: 0 none;

    padding: 3px 3px 3px 5px;

    width: 70%;

    font-size: 12px;

    line-height:15px;

    box-shadow: inset 0px 1px 4px #ECECEC;

    -moz-box-shadow: inset 0px 1px 4px #ECECEC;

    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;

}


.modal select {
    appearance:none;

    margin-bottom: 16px;

    -webkit-appearance:none;

    -moz-appearance: none;

    text-indent: 0.01px;

    text-overflow: '';

    width: 70%;

    height: 35px;

    line-height: 25px;

}

.update,.delete {
    /*height: 36px;*/
    /*line-height: 36px;*/
    font-size: 16px;
    padding: 0 10px;
    color: white;
    background: #409EFF;
    border: none;
    border-radius: 10px;
}

.delete {
    background: lightcoral;
    margin-left: 15px;
}

.modal .modal-footer .btn{
    padding: 0 20px;
    margin: 0 20px;
    height: 36px;
    line-height: 36px;
    color: white;
    background: #409EFF;
    border: none;
    border-radius: 15px;
}
.modal .modal-footer{
    border-top: 1px solid #f5f5f5;
    padding: 15px;
    text-align: right;

}

/* 分页功能 */
.page {
    width: 100%;
    height: 60px;
    border: 1px solid #666;
}
.page .leftPage {
    float: left;
}
.page .rightPage {
    width: 450px;
    height: 60px;
    float: right;
}
.rightPage li {
    float: left;
    margin-top: 15px;
    width: 45px;
    height: 30px;
    border: 1px solid #999;
    line-height: 30px;
    text-align: center;
}

